getEffectSource

abstract fun getEffectSource(effectBlock: DesignBlock): DesignBlock?

Get the block that an effect block reads.

Return

the source block, or null when the effect has no source.

Parameters

effectBlock

the effect block to query. Only the displacement map effect reads a source.